L = [1,2,3,4,5,6,7,8,9]
T = (1,2,3,4,5,6,7,8,9)
S = {1,2,3,4,5,6,7,8,9}
D = {1:"A",2:"B",3:"C",4:"D",5:"E",6:"F",7:"G"}

print(L[1:4:])
print(T[1:4:])
# print(S[1:4:]) # 集合本身是无序的，不支持切片操作
# print(D[1:4:]) # 字典本身是无序的，不支持切片操作